<?php
/* @var $this SmsmarketController */
/* @var $model Smsmarket */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'smsmarket-form', 
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'companyid'); ?>
		<?php echo $form->textField($model,'companyid'); ?>
		<?php echo $form->error($model,'companyid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'oldsendstatus'); ?>
		<?php echo $form->textField($model,'oldsendstatus'); ?>
		<?php echo $form->error($model,'oldsendstatus'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'newusers'); ?>
		<?php echo $form->textField($model,'newusers',array('size'=>60,'maxlength'=>128)); ?>
		<?php echo $form->error($model,'newusers'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'oldusers'); ?>
		<?php echo $form->textField($model,'oldusers',array('size'=>60,'maxlength'=>128)); ?>
		<?php echo $form->error($model,'oldusers'); ?>
	</div>

	<div class="row buttons">
			<?php echo CHtml::submitButton($model->isNewRecord ? '新增' : '修改',array('class'=>'subButton')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->